Skip to content

AGTMETRICS-340: Migrate CI from CircleCI to GitHub Actions#309

Open
carlosroman wants to merge 2 commits intomasterfrom
carlosroman/AGTMETRICS-340-migrate-away-from-circleci
Open

AGTMETRICS-340: Migrate CI from CircleCI to GitHub Actions#309
carlosroman wants to merge 2 commits intomasterfrom
carlosroman/AGTMETRICS-340-migrate-away-from-circleci

Conversation

@carlosroman
Copy link
Copy Markdown
Contributor

Summary

  • Replaces .circleci/config.yml with .github/workflows/ci.yml
  • Preserves the same test matrix: Java 7, 8, 11, 13, 17 on Linux; Java 12 on Windows; dedicated jobs for jnr-exclude and jnr-latest profiles
  • Adds Maven dependency caching via actions/setup-java (free improvement — CircleCI had no caching)
  • Uses Zulu JDK distribution for broadest version coverage (Java 7+), replacing the third-party jfullaondo/openjdk:7 Docker image
  • No Chocolatey Maven install needed on Windows — GitHub-hosted runners have Maven pre-installed

Test plan

  • Confirm the CI workflow appears under the Actions tab after pushing
  • Confirm all 8 jobs run: 6 matrix entries (Java 7/8/11/13/17 Linux + Java 12 Windows) + test-jnr-exclude + test-jnr-latest
  • Confirm each job runs both the root build and the dogstatsd-http-core build
  • Confirm Windows job passes without a Chocolatey Maven install step

🤖 Generated with Claude Code

Replaces .circleci/config.yml with .github/workflows/ci.yml, preserving
the same test matrix: Java 7/8/11/13/17 on Linux, Java 12 on Windows,
and dedicated jobs for jnr-exclude and jnr-latest profiles. Adds Maven
dependency caching as a free improvement over the previous setup.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@carlosroman carlosroman marked this pull request as ready for review May 1, 2026 14:01
@carlosroman carlosroman requested a review from a team as a code owner May 1, 2026 14:01
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b6258ca7a6

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread .github/workflows/ci.yml
fail-fast: false
matrix:
os: [ubuntu-latest]
java-version: ['7', '8', '11', '13', '17']
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Drop Java 7 from matrix or pin a Java-7-compatible Maven

Including java-version: '7' in this matrix will make the new GitHub Actions job fail before tests run, because ubuntu-latest runners currently ship Maven 3.9.x while Maven 3.9 requires JDK 8+ to execute. This workflow invokes plain mvn for every matrix entry, so the Java 7 leg is effectively broken unless you install/pin an older Maven (or use a wrapper) specifically for that leg.

Useful? React with 👍 / 👎.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant